/*
 * @Author: silence
 * @Date: 2022-05-28 17:36:43
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-09-02 17:18:00
 * @Description: 广告配置文件
 */

enum AdType {
  PangleAd, // 穿山甲广告
  KuaiShouAd, // 快手广告
}

/// 广告配置信息
class AdsConfig {
  static AdType adType = AdType.KuaiShouAd;

  // 是不是快手广告
  static bool get isKuaiShowAd => adType == AdType.KuaiShouAd;

  /// ios appId
  static String get iosAppId => isKuaiShowAd ? '691600012' : '5296179';

  /// android appId
  static String get androidAppId => isKuaiShowAd ? '691600012' : '5296179';

  /// 获取开屏广告位id
  static String get splashId => isKuaiShowAd ? '6916000363' : '887776796';

  /// 获取插屏广告位id
  static String get interstitialId => isKuaiShowAd ? '6916000365' : '948642084';

  /// 获取draw信息流广告位id
  static String get drawFeedId => isKuaiShowAd ? '948642084' : '948642084';

  /// 获取激励视频广告位id
  static String get rewardVideoId => isKuaiShowAd ? '6916000359' : '948642236';

  /// 获取banner广告位id（对应快手信息流广告）
  static String get bannerId => isKuaiShowAd ? '6916000362' : '948666529';
}
